home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / utils / console / svgatext.3 / svgatext / SVGATextMode-1.3 / XFREE / xfree_compat.h < prev   
Encoding:
C/C++ Source or Header  |  1996-03-24  |  920 b   |  51 lines

  1. /***
  2.  *** xfree_compat.h: misc. stuff to get the XFREE code to compile. This is junk :-(
  3.  *** Written by Koen Gadeyne (kmg@barco.be)
  4.  ***
  5.  ***/
  6.  
  7. #ifndef _COMPAT_H
  8. #define _COMPAT_H
  9.  
  10. #define NeedFunctionPrototypes 1
  11.  
  12. #include <stdio.h>
  13. #include <unistd.h>
  14.  
  15. typedef int Bool;
  16.  
  17. #define ErrorF printf
  18.  
  19. typedef void *ScrnInfoRec;  /* dummy, not used by SVGATextMode */
  20.  
  21.  
  22.  
  23. extern void GlennsIODelay();
  24.  
  25. extern int CirrusSetClock(int freq);
  26.  
  27. Bool xf86DisableInterrupts();
  28.  
  29. void xf86EnableInterrupts();
  30.  
  31. void s3OutTiIndReg(unsigned char reg, unsigned char mask, unsigned char data);
  32. unsigned char s3InTiIndReg(unsigned char reg);
  33.  
  34. void s3OutTi3026IndReg(unsigned char reg, unsigned char mask, unsigned char data);
  35. unsigned char s3InTi3026IndReg(unsigned char reg);
  36.  
  37.  
  38. void s3ProgramTi3025Clock();
  39.  
  40. extern int ARKgendacSetClock(
  41. #if NeedFunctionPrototypes
  42.         long,
  43.         int
  44. #endif
  45. );
  46.  
  47. void set_ti_SOG(Bool SOG);
  48.  
  49. #endif
  50.  
  51.